package org.mparts.server.domain;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the news database table.
 * 
 */
@Entity
@Table(name="news")
public class News extends EntityBase implements Serializable {
	private static final long serialVersionUID = 1L;
	
	private String content;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="news_date")
	private Date newsDate;

	public News() {
	}



	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}


	public Date getNewsDate() {
		return this.newsDate;
	}

	public void setNewsDate(Date newsDate) {
		this.newsDate = newsDate;
	}

}